﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020011F1 RID: 4593
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class StarFightGroupInfo : IMessage<StarFightGroupInfo>, IMessage, IEquatable<StarFightGroupInfo>, IDeepCloneable<StarFightGroupInfo>, IBufferMessage
	{
		// Token: 0x17003A2B RID: 14891
		// (get) Token: 0x0600CDC3 RID: 52675 RVA: 0x0022A497 File Offset: 0x00228697
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<StarFightGroupInfo> Parser
		{
			get
			{
				return StarFightGroupInfo._parser;
			}
		}

		// Token: 0x17003A2C RID: 14892
		// (get) Token: 0x0600CDC4 RID: 52676 RVA: 0x0022A49E File Offset: 0x0022869E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return StarFightGroupInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003A2D RID: 14893
		// (get) Token: 0x0600CDC5 RID: 52677 RVA: 0x0022A4B0 File Offset: 0x002286B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return StarFightGroupInfo.Descriptor;
			}
		}

		// Token: 0x0600CDC6 RID: 52678 RVA: 0x0022A4B7 File Offset: 0x002286B7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StarFightGroupInfo()
		{
		}

		// Token: 0x0600CDC7 RID: 52679 RVA: 0x0022A4C0 File Offset: 0x002286C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StarFightGroupInfo(StarFightGroupInfo other) : this()
		{
			this.hardChallenged_ = other.hardChallenged_;
			this.oEKBKACHMAB_ = other.oEKBKACHMAB_;
			this.fMLKGHHLNDK_ = other.fMLKGHHLNDK_;
			this.groupId_ = other.groupId_;
			this.pLCCICHPEDE_ = other.pLCCICHPEDE_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600CDC8 RID: 52680 RVA: 0x0022A520 File Offset: 0x00228720
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StarFightGroupInfo Clone()
		{
			return new StarFightGroupInfo(this);
		}

		// Token: 0x17003A2E RID: 14894
		// (get) Token: 0x0600CDC9 RID: 52681 RVA: 0x0022A528 File Offset: 0x00228728
		// (set) Token: 0x0600CDCA RID: 52682 RVA: 0x0022A530 File Offset: 0x00228730
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool HardChallenged
		{
			get
			{
				return this.hardChallenged_;
			}
			set
			{
				this.hardChallenged_ = value;
			}
		}

		// Token: 0x17003A2F RID: 14895
		// (get) Token: 0x0600CDCB RID: 52683 RVA: 0x0022A539 File Offset: 0x00228739
		// (set) Token: 0x0600CDCC RID: 52684 RVA: 0x0022A541 File Offset: 0x00228741
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint OEKBKACHMAB
		{
			get
			{
				return this.oEKBKACHMAB_;
			}
			set
			{
				this.oEKBKACHMAB_ = value;
			}
		}

		// Token: 0x17003A30 RID: 14896
		// (get) Token: 0x0600CDCD RID: 52685 RVA: 0x0022A54A File Offset: 0x0022874A
		// (set) Token: 0x0600CDCE RID: 52686 RVA: 0x0022A552 File Offset: 0x00228752
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FMLKGHHLNDK
		{
			get
			{
				return this.fMLKGHHLNDK_;
			}
			set
			{
				this.fMLKGHHLNDK_ = value;
			}
		}

		// Token: 0x17003A31 RID: 14897
		// (get) Token: 0x0600CDCF RID: 52687 RVA: 0x0022A55B File Offset: 0x0022875B
		// (set) Token: 0x0600CDD0 RID: 52688 RVA: 0x0022A563 File Offset: 0x00228763
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GroupId
		{
			get
			{
				return this.groupId_;
			}
			set
			{
				this.groupId_ = value;
			}
		}

		// Token: 0x17003A32 RID: 14898
		// (get) Token: 0x0600CDD1 RID: 52689 RVA: 0x0022A56C File Offset: 0x0022876C
		// (set) Token: 0x0600CDD2 RID: 52690 RVA: 0x0022A574 File Offset: 0x00228774
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PLCCICHPEDE
		{
			get
			{
				return this.pLCCICHPEDE_;
			}
			set
			{
				this.pLCCICHPEDE_ = value;
			}
		}

		// Token: 0x0600CDD3 RID: 52691 RVA: 0x0022A57D File Offset: 0x0022877D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as StarFightGroupInfo);
		}

		// Token: 0x0600CDD4 RID: 52692 RVA: 0x0022A58C File Offset: 0x0022878C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(StarFightGroupInfo other)
		{
			return other != null && (other == this || (this.HardChallenged == other.HardChallenged && this.OEKBKACHMAB == other.OEKBKACHMAB && this.FMLKGHHLNDK == other.FMLKGHHLNDK && this.GroupId == other.GroupId && this.PLCCICHPEDE == other.PLCCICHPEDE && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600CDD5 RID: 52693 RVA: 0x0022A608 File Offset: 0x00228808
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.HardChallenged)
			{
				num ^= this.HardChallenged.GetHashCode();
			}
			if (this.OEKBKACHMAB != 0U)
			{
				num ^= this.OEKBKACHMAB.GetHashCode();
			}
			if (this.FMLKGHHLNDK != 0U)
			{
				num ^= this.FMLKGHHLNDK.GetHashCode();
			}
			if (this.GroupId != 0U)
			{
				num ^= this.GroupId.GetHashCode();
			}
			if (this.PLCCICHPEDE != 0U)
			{
				num ^= this.PLCCICHPEDE.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600CDD6 RID: 52694 RVA: 0x0022A6AB File Offset: 0x002288AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600CDD7 RID: 52695 RVA: 0x0022A6B3 File Offset: 0x002288B3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600CDD8 RID: 52696 RVA: 0x0022A6BC File Offset: 0x002288BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.HardChallenged)
			{
				output.WriteRawTag(24);
				output.WriteBool(this.HardChallenged);
			}
			if (this.GroupId != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.GroupId);
			}
			if (this.PLCCICHPEDE != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.PLCCICHPEDE);
			}
			if (this.OEKBKACHMAB != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.OEKBKACHMAB);
			}
			if (this.FMLKGHHLNDK != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.FMLKGHHLNDK);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600CDD9 RID: 52697 RVA: 0x0022A76C File Offset: 0x0022896C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.HardChallenged)
			{
				num += 2;
			}
			if (this.OEKBKACHMAB != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.OEKBKACHMAB);
			}
			if (this.FMLKGHHLNDK != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FMLKGHHLNDK);
			}
			if (this.GroupId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GroupId);
			}
			if (this.PLCCICHPEDE != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PLCCICHPEDE);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600CDDA RID: 52698 RVA: 0x0022A800 File Offset: 0x00228A00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(StarFightGroupInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.HardChallenged)
			{
				this.HardChallenged = other.HardChallenged;
			}
			if (other.OEKBKACHMAB != 0U)
			{
				this.OEKBKACHMAB = other.OEKBKACHMAB;
			}
			if (other.FMLKGHHLNDK != 0U)
			{
				this.FMLKGHHLNDK = other.FMLKGHHLNDK;
			}
			if (other.GroupId != 0U)
			{
				this.GroupId = other.GroupId;
			}
			if (other.PLCCICHPEDE != 0U)
			{
				this.PLCCICHPEDE = other.PLCCICHPEDE;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600CDDB RID: 52699 RVA: 0x0022A88C File Offset: 0x00228A8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600CDDC RID: 52700 RVA: 0x0022A898 File Offset: 0x00228A98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 40U)
				{
					if (num == 24U)
					{
						this.HardChallenged = input.ReadBool();
						continue;
					}
					if (num == 40U)
					{
						this.GroupId = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 56U)
					{
						this.PLCCICHPEDE = input.ReadUInt32();
						continue;
					}
					if (num == 104U)
					{
						this.OEKBKACHMAB = input.ReadUInt32();
						continue;
					}
					if (num == 120U)
					{
						this.FMLKGHHLNDK = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400528B RID: 21131
		private static readonly MessageParser<StarFightGroupInfo> _parser = new MessageParser<StarFightGroupInfo>(() => new StarFightGroupInfo());

		// Token: 0x0400528C RID: 21132
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400528D RID: 21133
		public const int HardChallengedFieldNumber = 3;

		// Token: 0x0400528E RID: 21134
		private bool hardChallenged_;

		// Token: 0x0400528F RID: 21135
		public const int OEKBKACHMABFieldNumber = 13;

		// Token: 0x04005290 RID: 21136
		private uint oEKBKACHMAB_;

		// Token: 0x04005291 RID: 21137
		public const int FMLKGHHLNDKFieldNumber = 15;

		// Token: 0x04005292 RID: 21138
		private uint fMLKGHHLNDK_;

		// Token: 0x04005293 RID: 21139
		public const int GroupIdFieldNumber = 5;

		// Token: 0x04005294 RID: 21140
		private uint groupId_;

		// Token: 0x04005295 RID: 21141
		public const int PLCCICHPEDEFieldNumber = 7;

		// Token: 0x04005296 RID: 21142
		private uint pLCCICHPEDE_;
	}
}
